Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.smart.query.layouts--layouts

This contribution is part of XML component org.nuxeo.ecm.platform.smart.query.layouts inside nuxeo-platform-smart-query-jsf-5.8.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="nxql_incremental_smart_query">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>nxql_incremental_smart_query_widget</widget>
            </row>
          </rows>
          <widget name="nxql_incremental_smart_query_widget" type="nxql_incremental_smart_query_widget">
            <labels>
              <label mode="any">label.smart.query.build</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field/>
            </fields>
            <properties mode="any">
              <property name="selectionLayout">
                incremental_smart_query_selection
              </property>
              <property name="updateQueryPart">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
            </properties>
          </widget>
        </layout>
  • <layout name="incremental_smart_query_selection">
          <templates>
            <template mode="any">
              /layouts/incremental_smart_query_selection_layout_template.xhtml
            </template>
          </templates>
          <properties mode="any">
            <property name="hideNotOperator">true</property>
          </properties>
          <rows>
            <row name="nxql_smart_query_condition_fulltext">
              <widget>nxql_smart_query_condition_fulltext</widget>
            </row>
            <row name="nxql_smart_query_condition_title">
              <widget>nxql_smart_query_condition_title</widget>
            </row>
            <row name="nxql_smart_query_condition_created">
              <widget>nxql_smart_query_condition_created</widget>
            </row>
            <row name="nxql_smart_query_condition_contributors">
              <widget>nxql_smart_query_condition_contributors</widget>
            </row>
            <row name="nxql_smart_query_condition_modified">
              <widget>nxql_smart_query_condition_modified</widget>
            </row>
            <row name="nxql_smart_query_condition_expired">
              <widget>nxql_smart_query_condition_expired</widget>
            </row>
            <row name="nxql_smart_query_condition_nature">
              <widget>nxql_smart_query_condition_nature</widget>
            </row>
            <row name="nxql_smart_query_condition_subjects">
              <widget>nxql_smart_query_condition_subjects</widget>
            </row>
            <row name="nxql_smart_query_condition_coverage">
              <widget>nxql_smart_query_condition_coverage</widget>
            </row>
            <row name="nxql_smart_query_condition_description">
              <widget>nxql_smart_query_condition_description</widget>
            </row>
            <row name="nxql_smart_query_condition_rights">
              <widget>nxql_smart_query_condition_rights</widget>
            </row>
            <row name="nxql_smart_query_condition_source">
              <widget>nxql_smart_query_condition_source</widget>
            </row>
            <row name="nxql_smart_query_condition_format">
              <widget>nxql_smart_query_condition_format</widget>
            </row>
            <row name="nxql_smart_query_condition_language">
              <widget>nxql_smart_query_condition_language</widget>
            </row>
            <row name="nxql_smart_query_condition_path">
              <widget>nxql_smart_query_condition_path</widget>
            </row>
          </rows>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="nxql_incremental_smart_query">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>nxql_incremental_smart_query_widget</widget>
        </row>
      </rows>
      <widget name="nxql_incremental_smart_query_widget" type="nxql_incremental_smart_query_widget">
        <labels>
          <label mode="any">label.smart.query.build</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field/>
        </fields>
        <properties mode="any">
          <property name="selectionLayout">
            incremental_smart_query_selection
          </property>
          <property name="updateQueryPart">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
        </properties>
      </widget>
    </layout>

    <layout name="incremental_smart_query_selection">
      <templates>
        <template mode="any">
          /layouts/incremental_smart_query_selection_layout_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="hideNotOperator">true</property>
      </properties>
      <rows>
        <row name="nxql_smart_query_condition_fulltext">
          <widget>nxql_smart_query_condition_fulltext</widget>
        </row>
        <row name="nxql_smart_query_condition_title">
          <widget>nxql_smart_query_condition_title</widget>
        </row>
        <row name="nxql_smart_query_condition_created">
          <widget>nxql_smart_query_condition_created</widget>
        </row>
        <row name="nxql_smart_query_condition_contributors">
          <widget>nxql_smart_query_condition_contributors</widget>
        </row>
        <row name="nxql_smart_query_condition_modified">
          <widget>nxql_smart_query_condition_modified</widget>
        </row>
        <row name="nxql_smart_query_condition_expired">
          <widget>nxql_smart_query_condition_expired</widget>
        </row>
        <row name="nxql_smart_query_condition_nature">
          <widget>nxql_smart_query_condition_nature</widget>
        </row>
        <row name="nxql_smart_query_condition_subjects">
          <widget>nxql_smart_query_condition_subjects</widget>
        </row>
        <row name="nxql_smart_query_condition_coverage">
          <widget>nxql_smart_query_condition_coverage</widget>
        </row>
        <row name="nxql_smart_query_condition_description">
          <widget>nxql_smart_query_condition_description</widget>
        </row>
        <row name="nxql_smart_query_condition_rights">
          <widget>nxql_smart_query_condition_rights</widget>
        </row>
        <row name="nxql_smart_query_condition_source">
          <widget>nxql_smart_query_condition_source</widget>
        </row>
        <row name="nxql_smart_query_condition_format">
          <widget>nxql_smart_query_condition_format</widget>
        </row>
        <row name="nxql_smart_query_condition_language">
          <widget>nxql_smart_query_condition_language</widget>
        </row>
        <row name="nxql_smart_query_condition_path">
          <widget>nxql_smart_query_condition_path</widget>
        </row>
      </rows>
    </layout>

  </extension>